package com.yangrd.helper.crudhelper.core.crud.ctrl;

import org.springframework.data.jpa.domain.Specification;

import javax.servlet.http.HttpServletRequest;

/**
 * @author yangrd
 * @date 2020/10/23
 */
public interface SpecHelper {

    /**
     * toSpec
     *
     * @param domainClass
     * @param request
     * @return
     */
    Specification<?> toSpec(Class<?> domainClass, HttpServletRequest request);
}
